package com.test.service.impl;

import com.test.dao.OrdersItemDao;
import com.test.entity.OrdersItem;
import com.test.service.OrdersItemService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service("ordersItemService")
public class OrdersItemServiceImpl implements OrdersItemService {
    @Resource
    private OrdersItemDao ordersItemDao;

    @Override
    public List<OrdersItem> queryByoID(OrdersItem ordersItem) {
        return ordersItemDao.queryAllByoID(ordersItem);
    }
}
